class Item < ActiveRecord::Base
  
  belongs_to :list
  
  def self.find_all_items
    find(:all, :order => "id")
  end
  
  def self.all_items_by_list_id(id)
    find(:all, :conditions => "list_id = #{id}", :order => "id DESC")
  end
  
  
end
